<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
		
<ui:composition template="_index.xhtml">
	<ui:define name="corpo">		
	
		<div id="conteudo">
					
			<h:form id="formlogin">
			
			<p:fieldset><br /><br />
			
				<h:panelGrid columns="4" cellspancing="5">
						
				<h:outputLabel value="MATRICULA: " />
				<p:inputText value="#{loginBean.funcionario.matricula}" required="true" requiredMessage="Preencha o campo Matricula" />

				<h:outputLabel value="SENHA: " />
				<p:password value="#{loginBean.funcionario.senha}" required="true" requiredMessage="Preencha o campo Senha" />
				<br /><br />

				<p:commandButton action="#{loginBean.efetuaLogin}"
					value="Efetuar Login" style="position: center;" ajax="false" /><br /><br /><br /><br />
					
					</h:panelGrid>
					
				</p:fieldset>	<br /><br />	

				<p:messages />
					
					</h:form>
			<h:form>

				<p:commandLink value="Esqueci minha senha"
					action="EsqueciMinhaSenha.xhtml?faces-redirect=true" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				
				<p:commandLink value="Solicitação de Cadastro"
					action="SolicitacaoDeCadastro.xhtml?faces-redirect=true" />

			</h:form>
		</div>
				
						

	</ui:define>
</ui:composition>

</html>